package com.ss.android.messagebus;

import java.lang.reflect.Method;

final class g {
    public Method a;
    public ThreadMode b;
    private MessageType c;

    public g(Method arg3, MessageType arg4, ThreadMode arg5) {

        this.a = arg3;
        this.a.setAccessible(true);
        this.c = arg4;
        this.b = arg5;
    }

    public final boolean equals(Object arg5) {
        boolean v0 = true;
        if(this != (((g)arg5))) {
            if(arg5 == null) {
                v0 = false;
            }
            else if(this.getClass() != arg5.getClass()) {
                v0 = false;
            }
            else {
                if(this.c == null) {
                    if(((g)arg5).c != null) {
                        return false;
                    }
                }
                else if(!this.c.equals(((g)arg5).c)) {
                    return false;
                }

                if(this.a == null) {
                    if(((g)arg5).a == null) {
                        return v0;
                    }

                    return false;
                }

                if(this.a.getName().equals(((g)arg5).a.getName())) {
                    return v0;
                }

                v0 = false;
            }
        }

        return v0;
    }

    public final int hashCode() {
        int v1 = 0;
        int v0 = this.c == null ? 0 : this.c.hashCode();
        v0 = (v0 + 31) * 31;
        if(this.a != null) {
            v1 = this.a.getName().hashCode();
        }

        return v0 + v1;
    }
}

